package com.example.course.service;

import com.example.course.dto.admin.*;
import com.example.course.dto.user.UserScoresListDto;
import com.example.course.pojo.Scores;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.course.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【scores】的数据库操作Service
* @createDate 2024-03-15 15:13:44
*/
public interface ScoresService extends IService<Scores> {

    Result getUserScores(Long semesterId);

    Result saveScores(AdminScoresSaveDto dto);

    Result removeScores(AdminScoresRemoveDto dto);

    Result updateGetScores(AdminScoresUpdateGetDto dto);

    Result updateScores(AdminScoresUpdateDto dto);

    Result getAdminScores(AdminScoresListDto dto);

}
